﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Newsletter.aspx.cs" Inherits="SPN.Layouts.SPN.pages.Newsletter" DynamicMasterPageFile="~masterurl/default.master" %>

<asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
    <link rel="Stylesheet" type="text/css" href="/_layouts/SPN/css/administration.css" />
</asp:Content>
<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">
    <div class="spn-adminpage">
        <div class="spn-adminpage-row">
            <div class="spn-newsviewitems">
                <asp:Repeater ID="rep_NewsletterItems" runat="server">
                    <ItemTemplate>
                        <div class="spn-newsletterviewitems-item">
                            <asp:Label runat="server" CssClass="spn-newsletterviewitems-item-date" Text='<%# Eval("Date") %>' />
                            <asp:Label runat="server" CssClass="spn-newsletterviewitems-item-title" Text='<%# Eval("Title") %>' />
                            <asp:LinkButton runat="server" CssClass="spn-newsletterviewitems-item-link" CommandArgument='<%# Eval("Id") %>' Text="View" OnClick="lib_NewsletterItem_View_Click" />
                        </div>
                    </ItemTemplate>
                </asp:Repeater>                    
            </div>
        </div>
        <div class="spn-adminpage-row">
            <asp:HyperLink ID="hl_Add" runat="server" Text="Create newsletter" CssClass="spn-adminpage-row-button" />
            <asp:HyperLink ID="hl_Cancel" runat="server" Text="Cancel" CssClass="spn-adminpage-row-button" />
        </div>
    </div>
</asp:Content>
<asp:Content ID="PageTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
    Newsletters
</asp:Content>
<asp:Content ID="PageTitleInTitleArea" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server" >
    Newsletters
</asp:Content>
